package net.lab1024.sa.admin.module.workflow.dao;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.lab1024.sa.admin.module.workflow.domain.entity.WfCategory;
import net.lab1024.sa.admin.module.workflow.domain.form.WfCategoryBo;
import net.lab1024.sa.admin.module.workflow.domain.form.WfCategoryVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * 流程分类Mapper接口
 *
 * @author KonBAI
 * @date 2022-01-15
 */
@Component
@Mapper
public interface WfCategoryDao extends BaseMapperX<WfCategory> {
    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<WfCategoryVo> queryPage(Page page, @Param("queryForm") WfCategoryBo queryForm);

    List<WfCategoryVo> queryList(@Param("queryForm") WfCategoryBo queryForm);

}
